package net.zretc.service;

import java.util.List;

import net.zretc.entitys.Pet;
import net.zretc.entitys.PetType;

public interface PetService {
	public boolean insert(Pet pet);
	public List<Pet> findAll();
	public boolean delete(int id);
	public List<Pet> findByName(String name);
	public Pet findById(int id);
	public boolean update(Pet pet);
	public int Count();
	public int CountByName(String name);
	public List<PetType> petAllType() ;
	public int typeCount();
	public List<Pet> findByPage(int currPage,int pageSize);
	public int insert1(Pet pet);
}
